package com.daka.service;

import com.daka.entity.BaseAddress;
import com.daka.vo.request.BaseAddressRequestVo;

import java.util.List;

/**
 * Created by yangx
 * CreateTime: 2016/9/27 16:14
 */
public interface BaseAddressService {
    int insert(BaseAddress po);
    int update(BaseAddress po);
    BaseAddress selectById(Long id);

    List<BaseAddress> selectAll();

    List<BaseAddress> selectFirst();
    List<BaseAddress> selectSecond();
    List<BaseAddress> selectThird();

    List<BaseAddress> selectAddressByConditions(BaseAddressRequestVo po);
    int selectAddressByConditionsCount(BaseAddressRequestVo po);
}
